class IncentiveImage < ActiveRecord::Base 
  belongs_to :incentive

  has_attachment  :content_type => :image, 
                  :storage => :file_system, 
                  :max_size => 500.kilobytes, 
                  :resize_to => '384x256>', 
                  :thumbnails => { 
                    :large => '96x96>', 
                    :medium => '64x64>', 
                    :small => '48x48>' 
                  } 
  
  validates_as_attachment 
end 
